import request from '@/utils/request'


export default{
    // 员工列表
    employeeList(page, size, param = []) {
        return request({
            url: `manage/companyClient/personnel/lists?page=${page}&size=${size}`,
            method: 'post',
            data: param
        })
    },
    employeeChange(param) { // 修改状态
        return request({
            url: `manage/companyClient/personnel/change`,
            method: 'post',
            data: param
        })
    },
    employeePsss (param){ // 重置密码
        return request({
            url: `manage/companyClient/personnel/changePass`,
            method: 'post',
            data: param
        })
    },
    employeeAmount (param){ // 推送储值
        return request({
            url: `manage/companyClient/personnel/changeAmount`,
            method: 'post',
            data: param
        })
    },
    employeeAmountRecord (page,size,param){ // 储值明细
        return request({
            url: `manage/companyClient/personnel/amountRecord?page=${page}&size=${size}`,
            method: 'post',
            data: param
        })
    },

    employeeAmountList(page, size, param = []) { // 储值申请列表
        return request({
            url: `manage/companyClient/personnel/applyAmount?page=${page}&size=${size}`,
            method: 'post',
            data: param
        })
    },

    employeeAmountChange(param = []) { // 储值申请列表
        return request({
            url: `manage/companyClient/personnel/applyChange`,
            method: 'post',
            data: param
        })
    },

    ruleList(param = []) { // 企业充值规则
        return request({
            url: `manage/companyClient/index/rule`,
            method: 'post',
            data: param
        })
    },
}